(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <stdio.h>
int snprintf()
SYNOPSIS
char * str
size_t n
const char * format
...
FUNCTION
Formats a list of arguments and writes them into the string str.
INPUTS
str
The formatted string is written into this variable. You must make sure that it is large enough to contain the result.
n
At most n characters are written into the string. This includes the final 0.
format
Format string as described above ... - Arguments for the format string
RESULT
The number of characters written into the string. If this is -1, then there was not enough room. The 0 byte at the end is not included.
NOTES
EXAMPLE
BUGS
SEE ALSO
fprintf()
,
vprintf()
,
vfprintf()
,
snprintf()
, vsprintf(), vnsprintf()
INTERNALS
HISTORY
11.12.1996 aros
New functions: sprintf(), vsprintf(), snprintf() vsnprintf()
vfprintf() now uses __vcformat()